package com.study.thirdlib.litepal

import org.litepal.crud.LitePalSupport
import java.util.*

/**
 * <pre>
 *     author : slx
 *     time   : 2021/02/02
 *     desc   :
 * </pre>
 */
data class News(
        var id: Int,
        var name: String,
        var content: String,
        var publishDate: Date,
        var commentCount: Int,
        var intro: Intro?,
        var comments: MutableList<Comment>? = mutableListOf(),
        var categorys: MutableList<Category>? = mutableListOf()
) : LitePalSupport()